package com.lbs.jiepiaisi.utils;

/**
 *
 * 时间：2017/6/21 14:38
 * 作用：变量存储类
 */

public interface Constant {

    /**
    * 是否调用新闻接口
    * */
    public static final boolean IS_USE_NEWS = true;
    /**
     * 联网成功状态码
     */
    public static final int STATUS_OK=50;
    /**
     * 未联网状态码
     */
    public static final int STATUS_NO_NET=100;
    /**
     * 联网失败状态码
     */
    public static final int STATUS_NETWORK_ERROR=200;
    /**
     * 联网数据为空
     */
    public static final int STATUS_NULL=300;
    /**
     * 存储用户信息的键值对
     */
    public static final String USER_INFO = "user_pre";
    /**
     * sp存储用户的账号（账号登录）
     */
    public static final String ACCOUNT_NUMBER="account_number";
    /**
     * sp存储用户的密码（账号登录）
     */
    public static final String ACCOUNT_PASSWORD="account_password";
    /**
     * sp存储当前设备的设备编号
     */
    public static final String ACCOUNT_EQNUM="eq_num";
    /**
     * sp存储当前设备的设备编号（轨迹）
     */
    public static final String ACCOUNT_EQNO="eq_no";
    /**
     * sp存储当前的设备状态
     */
    public static final String ACCOUNT_STATUS="account_status";
    /**
     * sp存储当前设备的车主姓名
     */
    public static final String ACCOUNT_NAME="account_name";
    /**
     * sp存储当前设备的车主姓名
     */
    public static final String ACCOUNT_CARNAME="car_name";
    /**
     *  sp存储用户的userid（账号登录）
     */
    public static final String ACCOUNT_USERID="account_userid";
    /**
     *  sp存储用户的部门id(账号登录)
     */
    public static final String ACCOUNT_DEPTID="account_deptid";
    /**
     *  sp存储用户的上级部门id(账号登录)
     */
    public static final String ACCOUNT_PARENT_DEPTID="account_parent_deptid";
    /**
     *  sp存储用户的部门id(账号登录)
     */
    public static final String ACCOUNT_CHILD_DEPTID="account_child_deptid";
    /**
     *  sp存储用户的部门名称(账号登录)
     */
    public static final String ACCOUNT_DEPT_NAME="account_dept_name";
    /**
     *  sp取(int类型)值为空
     */
    public static final int SP_NULL=0;

    /**
     * 存储车架号（车架号登录）
     */
    public static final String FRAME_NUMBER="frame_number";

    /**
     * 存储密码（车架号登录）
     */
    public static final String FRAME_PASSWORD="frame_password";

    /**
     * 存储手机号
     */
    public static final String WORK_ORDER_PHONE="work_order_phone";

    /**
     * 扫描类型
     * 条形码或者二维码：REQUEST_SCAN_MODE_ALL_MODE
     * 条形码： REQUEST_SCAN_MODE_BARCODE_MODE
     * 二维码：REQUEST_SCAN_MODE_QRCODE_MODE
     *
     */
    public static final String REQUEST_SCAN_MODE="ScanMode";

    /**
     * 条形码或者二维码：REQUEST_SCAN_MODE_ALL_MODE
     */
    public static final int REQUEST_SCAN_MODE_ALL_MODE = 0X300;
    /**
     * 选车
     */
    public static final int SEL_CARS=0x100+1;
    /**
     * 导航之偏好设置
     */
    public static final int NAVI_PREFERENCE=0x100+1;
    /**
     * Intent:告警（单个用户的告警信息）
     */
    public static final String ACCOUNT_SINGLE_NOTICE="account_single_notice"; /**
     * Intent:告警（所有用户的告警信息）
     */
    public static final String ACCOUNT_ALL_NOTICE="account_all_notice";
    /**
     * Intent:城市信息
     */
    public static final String CHENG_SHI_XIN_XI="cheng_shi_xin_xi";

    /**
     * Intent：登录（平台账号登录）
     */
    public static final String ACCOUNT_LOGIN="account_login";

    /**
     * Intent：登录（车架号登录）
     */
    public static final String ACCOUNT_VIN_LOGIN="account_vin_login";

    /**
     * Intent:安装工登录
     */
    public static final String ACCOUNT_INSTALLER_LOGIN="account_install_login";

    /**
     * Intent:加载全部车辆信息（平台账号登录）
     */
    public static final String ACCOUNT_SELCARS="account_selcars";
    public static final String ACCOUNT_SELCARS_LOGIN="account_selcars_login";
    /**
     * Intent:加载搜索车辆信息（平台账号登录）
     */
    public static final String ACCOUNT_SEARCH_SELCARS="account_search_selcars";

    /**
     * Intent:加载全部车辆信息（车架账号登录）
     */
    public static final String ACCOUNT_CAR_SELCARS="account_car_selcars";
    /**
     * Intent:用户反馈
     */
    public static final String ACCOUNT_PROBELM="account_problem";
    /**
     * Intent:修改密码
     */
    public static final String ACCOUNT_UPDATE_PWD="account_update_pwd";
    /**
     * Intent:加载用户信息（平台账号登录）
     */
    public static final String ACCOUNT_USER_INFO="account_users";
    /**
     * Intent:单个车辆实时追踪
     */
    public static final String ACCOUNT_TRACK="account_track";

    /**
     * Intent:单个车辆实时追踪.拍照
     */
    public static final String ACCOUNT_PHOTO_TRACK="account_photo_track";
    /**
     * Intent:单个车辆实时追踪搜索
     */
    public static final String ACCOUNT_SEARCH_TRACK="account_search_track";
    /**
     * Intent:加载单个设备历史轨迹
     */
//    public static final String ACCOUNT_HISTORY="account_history";
    /**
     * Intent:搜索
     */
    public static final String ACCOUNT_SEARCH="account_search";
    /**
     * Intent:搜索设备列表
     */
    public static final String ACCOUNT_LIST_SEARCH="account_List_search";
    /**
     * Intent:当前设备列表-所有
     */
    public static final String ACCOUNT_LIST_ALL_LINE="account_list_all_line";
    /**
     * Intent:当前设备列表-在线
     */
    public static final String ACCOUNT_LIST_ON_LINE="account_list_on_line";
    /**
     * Intent:当前设备列表-未启用
     */
    public static final String ACCOUNT_LIST_NO_USE_LINE="account_list_no_use_line";
    /**
     * Intent:当前设备列表-离线
     */
    public static final String ACCOUNT_LIST_OFF_LINE="account_list_off_line";
    /**
     * Intent:市的名字
     */
    public static final String SHI_MING_CHENG="chi_ming_cheng";
    /**
     * Intent:当前设备总数
     */
    public static final String ACCOUNT_LIST_ALL_NUM="account_list_all_num";
    /**
     * Intent:当前设备在线总数
     */
    public static final String ACCOUNT_ONLINE_NUM="account_online_num";
    /**
     * Intent:当前账户下的下级部门列表
     * */
    public static final String ACCOUNT_DEPTS_LIST="account_depts_list";

    /**
     * Intent:未启用设备
     */
    public static final String AOOUNT_NOT_OPEN="account_not_open";

    /**
     * Intent:当前设备离线总数
     */
    public static final String ACCOUNT_LIST_OFF_LINE_NUM="account_list_off_line_num";
    /**
     * Intent:登录（拍照系统）
     */
    public static final String PICTURE_LOGIN="picture_login";
    /**
     * Intent:拍照上传
     */
    public static final String UPLOAD_PICTURE="upload_picture";
    /**
     * Intent:拍照补拍上传
     */
    public static final String UPLOAD_ADD_PICTURE="upload_add_picture";
    /**
     * Intent:查询拍照
     */
    public static final String FIND_UPLOAD_PICTURE="upload_picture";
    /**
     * Intent:导航
     */
    public static final String ACCOUNT_NAVIGATION="account_navigation";
    /**
     * Intent：发送经纬度
     */
    public static final String ACCOUNT_LAT_LNG="account_LAT_LNG";
    /**
     * Intent：拍照发送经纬度
     */
    public static final String ACCOUNT_PHOTO_LAT_LNG="account_PHOTO_LAT_LNG";

    /**
     * Intent：发送经纬度搜索
     */
    public static final String ACCOUNT_SEARCH_LAT_LNG="account_search_LAT_LNG";

    /**
     * Intent：周边搜索历史记录
     */
    public static final String ACCOUNT_SEARCH_HISTORY="account_history_search";

    /**
     * Intent：违章查询
     */
    public static final String ACCOUNT_WEI_ZHANG="account_WEI_ZHANG";

    /**
     * 广播键值
     */
    public static final String KEY_DATA="key_data";
    public static final String KEY_DATA2="key_data2";
    public static final String KEY_DATA3="key_data3";

    /**
     *
     * 设备状态
     * statues 3未启用 2离线 在线0,1 全部 = ""
     */
    public static final String DEVICE_NO_USE = "3";
    public static final String DEVICE_OFF_LINE = "2";
    public static final String DEVICE_ON_LINE = "0,1";
    public static final String DEVICE_ALL = "";

    /**
     *
     * 新闻相关
     * 类型,,top(头条，默认),
     * shehui(社会),
     * guonei(国内),
     * guoji(国际),
     * yule(娱乐),
     * tiyu(体育)
     * junshi(军事),
     * keji(科技),
     * caijing(财经),
     * shishang(时尚)
     *
     */
    public static final String NEWS_FLAG="news_list";
    public static final String NEWS_CACHE="news_cache_data";
    public static final String NEWS_KEY="f053b21f6af1ea1b6f9a6ae8b7f28fe5";
    public static final String NEWS_TYPE_TOP="top";
    public static final String NEWS_TYPE_SHEHUI="shehui";
    public static final String NEWS_TYPE_GUONEI="guonei";
    public static final String NEWS_TYPE_GUOJI="guoji";
    public static final String NEWS_TYPE_YULE="yule";
    public static final String NEWS_TYPE_TIYU="tiyu";
    public static final String NEWS_TYPE_JUNSHI="junshi";
    public static final String NEWS_TYPE_KEJI="keji";
    public static final String NEWS_TYPE_CAIJING="caijing";
    public static final String NEWS_TYPE_SHISHANG="shishang";

    //wifi定位
    public static final String POST_TYPE_WIFI="WIFI";
    //gps定位
    public static final String POST_TYPE_GPS="GPS";


    /**
     * 派单状态
     * 2:未接单
     * 4:已接单
     * 3: 历史订单
     * */
    public static final String WORK_ORDER_NO_GET= "2";
    public static final String WORK_ORDER_HAVE_GET= "9";
    public static final String WORK_ORDER_HISTORY_GET= "3";
    String USER_NAME = "user_name";
    String PASS_WORD = "pass_word";


    public static final String CITY_DATA = "china_city_data.json";
    public static final String CITY_DATA2 = "city_data.json";
    public static final String CHECK_VERSION = "check_version";
}
